package www.dianbaozu.com.ui.my

import androidx.hilt.lifecycle.ViewModelInject
import www.wen.com.common.lib.base.module.BaseCountDownModel
import www.wen.com.common.lib.data.repository.AppDataManager


/**
 * @author WEN
 * @Description:绑定手机号ViewModel
 * @date 2020//25 17:48
 */
class ModifyPhoneViewModel @ViewModelInject constructor(appDataManager: AppDataManager) :
    BaseCountDownModel(appDataManager) {


    override fun switchEnabledSubmit(textChange: CharSequence) {
        mEnabledSubmit.value =
            mPhone.value!!.isNotBlank() &&
                    mPhone.value!!.length >= 5 &&
                    mVerificationCode.value!!.isNotBlank()
    }

}


